package com.cf.core.model.diagram.config {
	import com.cf.core.model.diagram.constants.LabelDataSet;
	public class LabelData {
		private var G_start:String;
		private var G_end:String;
		private var G_type:String;
		private var G_range:range;
		// LabelData(LabelDataSet.ALPHABET
		public function LabelData(_range:range, _type:String="DataNumeric", _startTxt:String = "", _endTxt:String = ""):void {
			G_start = _startTxt;
			G_end = _endTxt;
			G_type = _type;
			G_range = _range;
			switch(_type) {
				case LabelDataSet.ALPHABET:
				break;
				case LabelDataSet.NUMERIC:
				break;
				case LabelDataSet.FORMAT:
				break;
				default:
					G_start = G_end = G_type = "";
					G_range = null;
					break;
			}//case
		}//fn
		public function txt(_no:int):String {
			switch(G_type) {
				default:break;
				case LabelDataSet.ALPHABET:
					return "Not Ready";
				break;
				case LabelDataSet.NUMERIC:
					return (G_start + (G_range.min + (_no * G_range.step)) + G_end).toString();
				break;
				case LabelDataSet.FORMAT:
					return "Not Ready";
				break;
			}//case
			return "non-type";
		}//fn
		public function toString():String {
			return "LabelData:" + G_type;
		}//fn
	}//class
}//package